package com.zpc.myvideoserver.mapper;

import com.zpc.myvideoserver.entity.User;
import com.zpc.myvideoserver.entity.Video;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 视频信息管理表 Mapper 接口
 * </p>
 *
 * @author zpc
 * @since 2023/11/03
 */
@Repository
public interface VideoMapper extends BaseMapper<Video> {
    @Select("<script>" +
            "select  * from video where video.video_name='${videoName}'"+
            "</script>")
    public Video getByVideoName(String videoName);
}
